/*
 * @Author: rogi
 * @Date: 2022-07-19 08:55:56
 * @LastEditTime: 2022-07-19 16:54:41
 * @LastEditors: rogi
 * @Description: 描述
 */
import { flatArray } from '@/utils/tool.js'

export default {
  flatMenu(store) {
    return flatArray(store.menu, 'children')
  }
}